package com.wujiansima.renyisima.demo;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class Demo3 {
    public static void main(String[] args) throws IOException {
        File file = new File("myFiles\\aaa");
        if (!file.exists()){
            file.mkdirs();
        }
        File file1 = new File(file,"a.txt");
        file1.createNewFile();
    }
}
